<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>最新文章、最热文章  -- 一念生活【1nsh.com】</title>
<#include "meta.ftl" >
<link href="style/style_1.css" rel="stylesheet" type="text/css">
<style>
body{background:#fff none repeat scroll 0 0;}
</style>
</head>
<body>
	<div class="r-title">
		<h2><img src="style/images/icon_tuijian.png">&nbsp;推荐文章</h2>
	</div>
	<div class="community-activity">
		<ul>
			<li>
		    <#if hotArticles??>
				<#list hotArticles as artis>
				<#if artis_index lt 5>
				<div style="padding:0 0 10px 0;">
					<span class="list-cathot">
					<a href="${(artis.categoryCode)!""}/d${(artis.id)?string("#")}.html" target="_blank" title="${(artis.title)!""}">
						<img src="<#if (artis.thumb)?? && (artis.thumb)?length gt 7>${(artis.thumb)!""}<#else>style/images/default_list.jpg</#if>"  alt="${(artis.title)!""}">
					</a>
					</span>
					<p style="text-align:center;width:145px;overflow: hidden;">
						<a href="${(artis.categoryCode)!""}/d${(artis.id)?string("#")}.html" target="_blank" title="${(artis.title)!""}">
							${(artis.title)!""}
						</a>
					</p>
				</div>
				</#if>
		    	</#list>
		    </#if>
			</li>
			<li class="last">
				<#if hotArticles??>
				<#list hotArticles as artis>
				<#if artis_index gt 4>
				<div style="padding:0 0 10px 0;">
					<span class="list-cathot">
					<a href="${(artis.categoryCode)!""}/d${(artis.id)?string("#")}.html" target="_blank" title="${(artis.title)!""}">
						<img src="<#if (artis.thumb)?? && (artis.thumb)?length gt 7>${(artis.thumb)!""}<#else>style/images/default_list.jpg</#if>"  alt="${(artis.title)!""}">
					</a>
					</span>
					<p style="text-align:center;width:145px;overflow: hidden;">
						<a href="${(artis.categoryCode)!""}/d${(artis.id)?string("#")}.html" target="_blank" title="${(artis.title)!""}">
							${(artis.title)!""}
						</a>
					</p>
				</div>
				</#if>
		    	</#list>
		    </#if>
			</li>
		</ul>
	</div>

	<div class="r-title">
		<h2><img src="style/images/icon_zuixin.png">&nbsp;最新文章</h2>
	</div>
	<div class="top-list">
		<ul>
			<#if latestArticles??>
				<#list latestArticles as artis>
				<li><a href="${(artis.categoryCode)!""}/d${(artis.id)?string("#")}.html" target="_blank" title="${(artis.title)!""}">${(artis.title)!""}</a></li>
		    	</#list>
		    </#if>
		</ul>
	</div>
</body>
</html>